package com.gengzp.common.model.role.resp;

import com.gengzp.common.model.generic.resp.GenericResp;
import com.gengzp.common.model.permission.dto.ConsolePageDto;
import com.gengzp.common.model.permission.dto.PermissionDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 * @ClassName SearchSysRoleResp
 * @Description 查询系统角色返回实体
 * @Author gengzp
 * @Date 2025/9/8 20:25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "查询系统角色返回实体")
public class SearchSysRoleResp extends GenericResp {

    private static final Logger logger = LoggerFactory.getLogger(SearchSysRoleResp.class);

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述")
    private String roleDescription;

    /**
     * 权限编码集合
     */
    @ApiModelProperty(value = "权限集合")
    private List<PermissionDto> permissions;

    /**
     * 控制台页面编码集合
     */
    @ApiModelProperty(value = "控制台页面集合")
    private List<ConsolePageDto> consolePages;

}
